
using System;
using System.Collections.Generic;
using System.Text;


namespace GenTechDataModel
{
    /// <summary>
    /// The top-level class of the data model that contains all the other objects, either directly or indirectly.
    /// </summary>
    public class GenTechModel
    {
        private List<GenTechPersona> personas = new List<GenTechPersona>();



        /// <summary>
        /// Add a persona to the model.
        /// </summary>
        /// <param name="persona">The persona to add.</param>
        public void AddPersona(GenTechPersona persona)
        {
            this.personas.Add(persona);
        }


        /// <summary>
        /// List of all the personas in the model.
        /// </summary>
        public GenTechPersona[] Personas
        {
            get { return this.personas.ToArray(); }
        }
    }
}
